\ SDL_Constants
\ created with the following (improved) sed_cascade:
\ cat gl.h | sed _n '/^#define\s\+[__A_Za_z0_9]\+\s\+[0_9].*$/p' | sed 's/^#define \([_a_zA_Z0_9]*\)\s*\(.*\)$/\2\tconstant \1/' | sed 's/^0x/$/' | sed 's/_/_/g'
\ (c) by Gerald Wodni 2008
0	constant NULL
$01	constant SDL_APPMOUSEFOCUS
$02	constant SDL_APPINPUTFOCUS
$04	constant SDL_APPACTIVE
$0008	constant AUDIO_U8
$8008	constant AUDIO_S8
$0010	constant AUDIO_U16LSB
$8010	constant AUDIO_S16LSB
$1010	constant AUDIO_U16MSB
$9010	constant AUDIO_S16MSB
128	constant SDL_MIX_MAXVOLUME
99	constant SDL_MAX_TRACKS
$00	constant SDL_AUDIO_TRACK
$04	constant SDL_DATA_TRACK
75	constant CD_FPS
1	constant SDL_HAS_64BIT_TYPE
1	constant STDC_HEADERS
1	constant SDL_AUDIO_DRIVER_AHI
1	constant SDL_AUDIO_DRIVER_DISK
1	constant SDL_AUDIO_DRIVER_DUMMY
1	constant SDL_CDROM_DUMMY
1	constant SDL_JOYSTICK_AMIGA
1	constant SDL_LOADSO_DUMMY
1	constant SDL_THREAD_AMIGA
1	constant SDL_TIMER_AMIGA
1	constant SDL_VIDEO_DRIVER_CYBERGRAPHICS
1	constant SDL_VIDEO_DRIVER_DUMMY
1	constant SDL_VIDEO_OPENGL
1	constant SDL_AUDIO_DRIVER_DC
1	constant SDL_CDROM_DC
1	constant SDL_JOYSTICK_DC
1	constant SDL_THREAD_DC
1	constant SDL_TIMER_DC
1	constant SDL_VIDEO_DRIVER_DC
1234	constant SDL_BYTEORDER
1	constant SDL_AUDIO_DRIVER_ALSA
1	constant SDL_AUDIO_DRIVER_ARTS
1	constant SDL_AUDIO_DRIVER_ESD
1	constant SDL_AUDIO_DRIVER_NAS
1	constant SDL_AUDIO_DRIVER_OSS
1	constant SDL_CDROM_LINUX
1	constant SDL_JOYSTICK_LINUX
1	constant SDL_LOADSO_DLOPEN
1	constant SDL_THREAD_PTHREAD
1	constant SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
1	constant SDL_TIMER_UNIX
1	constant SDL_VIDEO_DRIVER_AALIB
1	constant SDL_VIDEO_DRIVER_CACA
1	constant SDL_VIDEO_DRIVER_DGA
1	constant SDL_VIDEO_DRIVER_DIRECTFB
1	constant SDL_VIDEO_DRIVER_FBCON
1	constant SDL_VIDEO_DRIVER_SVGALIB
1	constant SDL_VIDEO_DRIVER_X11
1	constant SDL_VIDEO_DRIVER_X11_DGAMOUSE
1	constant SDL_VIDEO_DRIVER_X11_DPMS
1	constant SDL_VIDEO_DRIVER_X11_VIDMODE
1	constant SDL_VIDEO_DRIVER_X11_XINERAMA
1	constant SDL_VIDEO_DRIVER_X11_XME
1	constant SDL_VIDEO_DRIVER_X11_XRANDR
1	constant SDL_VIDEO_DRIVER_X11_XV
1	constant SDL_VIDEO_OPENGL_GLX
1	constant SDL_ASSEMBLY_ROUTINES
1	constant SDL_HERMES_BLITTERS
1	constant SDL_AUDIO_DRIVER_SNDMGR
1	constant SDL_CDROM_MACOS
1	constant SDL_JOYSTICK_DUMMY
1	constant SDL_JOYSTICK_MACOS
1	constant SDL_LOADSO_MACOS
1	constant SDL_THREADS_DISABLED
1	constant SDL_TIMER_MACOS
1	constant SDL_VIDEO_DRIVER_DRAWSPROCKET
1	constant SDL_VIDEO_DRIVER_TOOLBOX
1	constant SDL_AUDIO_DRIVER_COREAUDIO
1	constant SDL_CDROM_MACOSX
1	constant SDL_JOYSTICK_IOKIT
1	constant SDL_LOADSO_DLCOMPAT
1	constant SDL_VIDEO_DRIVER_QUARTZ
1	constant SDL_ALTIVEC_BLITTERS
1	constant SDL_CDROM_DISABLED
1	constant SDL_JOYSTICK_DISABLED
1	constant SDL_LOADSO_DISABLED
1	constant SDL_TIMERS_DISABLED
1	constant SDL_AUDIO_DRIVER_DART
1	constant SDL_CDROM_OS2
1	constant SDL_JOYSTICK_OS2
1	constant SDL_LOADSO_OS2
1	constant SDL_THREAD_OS2
1	constant SDL_TIMER_OS2
1	constant SDL_VIDEO_DRIVER_OS2FS
1	constant SDL_AUDIO_DRIVER_DSOUND
1	constant SDL_AUDIO_DRIVER_WAVEOUT
1	constant SDL_CDROM_WIN32
1	constant SDL_JOYSTICK_WINMM
1	constant SDL_LOADSO_WIN32
1	constant SDL_THREAD_WIN32
1	constant SDL_TIMER_WINCE
1	constant SDL_TIMER_WIN32
1	constant SDL_VIDEO_DRIVER_GAPI
1	constant SDL_VIDEO_DRIVER_DDRAW
1	constant SDL_VIDEO_DRIVER_WINDIB
1	constant SDL_VIDEO_OPENGL_WGL
1234	constant SDL_LIL_ENDIAN
4321	constant SDL_BIG_ENDIAN
0	constant SDL_RELEASED
1	constant SDL_PRESSED
$	constant SDL_ALLEVENTS
0	constant SDL_IGNORE
0	constant SDL_DISABLE
1	constant SDL_ENABLE
$00000001	constant SDL_INIT_TIMER
$00000010	constant SDL_INIT_AUDIO
$00000020	constant SDL_INIT_VIDEO
$00000100	constant SDL_INIT_CDROM
$00000200	constant SDL_INIT_JOYSTICK
$00100000	constant SDL_INIT_NOPARACHUTE
$01000000	constant SDL_INIT_EVENTTHREAD
$0000	constant SDL_INIT_EVERYTHING
$00	constant SDL_HAT_CENTERED
$01	constant SDL_HAT_UP
$02	constant SDL_HAT_RIGHT
$04	constant SDL_HAT_DOWN
$08	constant SDL_HAT_LEFT
$	constant SDL_ALL_HOTKEYS
500	constant SDL_DEFAULT_REPEAT_DELAY
30	constant SDL_DEFAULT_REPEAT_INTERVAL
1	constant SDL_BUTTON_LEFT
2	constant SDL_BUTTON_MIDDLE
3	constant SDL_BUTTON_RIGHT
4	constant SDL_BUTTON_WHEELUP
5	constant SDL_BUTTON_WHEELDOWN
1	constant SDL_MUTEX_TIMEDOUT
1	constant NeedFunctionPrototypes
1	constant WIN32_LEAN_AND_MEAN
1	constant __AIX__
1	constant __AMIGA__
1	constant __BEOS__
1	constant __BSDI__
1	constant __DREAMCAST__
1	constant __FREEBSD__
1	constant __HPUX__
1	constant __IRIX__
1	constant __LINUX__
1	constant __MACOSX__
1	constant __MACOS__
1	constant __NETBSD__
1	constant __OPENBSD__
1	constant __OS2__
1	constant __OSF__
1	constant __QNXNTO__
1	constant __RISCOS__
1	constant __SOLARIS__
1	constant __WIN32__
0	constant RW_SEEK_SET
1	constant RW_SEEK_CUR
2	constant RW_SEEK_END
10	constant SDL_TIMESLICE
10	constant TIMER_RESOLUTION
1	constant SDL_MAJOR_VERSION
2	constant SDL_MINOR_VERSION
11	constant SDL_PATCHLEVEL
255	constant SDL_ALPHA_OPAQUE
0	constant SDL_ALPHA_TRANSPARENT
$00000000	constant SDL_SWSURFACE
$00000001	constant SDL_HWSURFACE
$00000004	constant SDL_ASYNCBLIT
$10000000	constant SDL_ANYFORMAT
$20000000	constant SDL_HWPALETTE
$40000000	constant SDL_DOUBLEBUF
$80000000	constant SDL_FULLSCREEN
$00000002	constant SDL_OPENGL
$0000000	constant SDL_OPENGLBLIT
$00000010	constant SDL_RESIZABLE
$00000020	constant SDL_NOFRAME
$00000100	constant SDL_HWACCEL
$00001000	constant SDL_SRCCOLORKEY
$00002000	constant SDL_RLEACCELOK
$00004000	constant SDL_RLEACCEL
$00010000	constant SDL_SRCALPHA
$01000000	constant SDL_PREALLOC
$32315659	constant SDL_YV12_OVERLAY
$56555949	constant SDL_IYUV_OVERLAY
$32595559	constant SDL_YUY2_OVERLAY
$59565955	constant SDL_UYVY_OVERLAY
$55595659	constant SDL_YVYU_OVERLAY
$01	constant SDL_LOGPAL
$02	constant SDL_PHYSPAL

\ SDL_event
0  constant sdl-event-no-event
1  constant sdl-event-active-event
2  constant sdl-event-key-down
3  constant sdl-event-key-up
4  constant sdl-event-mouse-motion
5  constant sdl-event-mouse-button-down
6  constant sdl-event-mouse-button-up
7  constant sdl-event-joy-axis-motion
8  constant sdl-event-ball-motion
9  constant sdl-event-joy-hat-motion
10 constant sdl-event-joy-button-down
11 constant sdl-event-joy-button-up
12 constant sdl-event-quit
13 constant sdl-event-sys-wm-event
14 constant sdl-event-reserveda
15 constant sdl-event-reservedb
16 constant sdl-event-video-resize
17 constant sdl-event-video-expose
18 constant sdl-event-reserved2
19 constant sdl-event-reserved3
20 constant sdl-event-reserved4
21 constant sdl-event-reserved5
22 constant sdl-event-reserved6
23 constant sdl-event-reserved7
24 constant sdl-user-event

\ SDL_GLattr
0 constant SDL_GL_RED_SIZE
1 constant SDL_GL_GREEN_SIZE
2 constant SDL_GL_BLUE_SIZE
3 constant SDL_GL_ALPHA_SIZE
4 constant SDL_GL_BUFFER_SIZE
5 constant SDL_GL_DOUBLEBUFFER
6 constant SDL_GL_DEPTH_SIZE
7 constant SDL_GL_STENCIL_SIZE
8 constant SDL_GL_ACCUM_RED_SIZE
9 constant SDL_GL_ACCUM_GREEN_SIZE
10 constant SDL_GL_ACCUM_BLUE_SIZE
11 constant SDL_GL_ACCUM_ALPHA_SIZE
12 constant SDL_GL_STEREO
13 constant SDL_GL_MULTISAMPLEBUFFERS
14 constant SDL_GL_MULTISAMPLESAMPLES
15 constant SDL_GL_ACCELERATED_VISUAL
16 constant SDL_GL_SWAP_CONTROL
